using System.Collections.Generic;

namespace ColladaDotNet
{
	public partial class effectFx_profile_abstractProfile_GLSLTechniquePass : ColladaXmlNode
	{
		public override string GetSid() { return sid; }
		public override IList<ColladaXmlNode> ChildNodes
		{
			get
			{
				var list = new List<ColladaXmlNode>();
				if (annotate != null)
					foreach (object e in annotate) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (color_target != null)
					foreach (object e in color_target) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (depth_target != null)
					foreach (object e in depth_target) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (stencil_target != null)
					foreach (object e in stencil_target) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (color_clear != null)
					foreach (object e in color_clear) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (depth_clear != null)
					foreach (object e in depth_clear) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (stencil_clear != null)
					foreach (object e in stencil_clear) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (Items != null)
					foreach (object e in Items) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (extra != null)
					foreach (object e in extra) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				return list;
			}
		}
	}
}
